home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / Configs / Default.ori < prev    next >
Text File  |  1997-02-26  |  19KB  |  378 lines

  1. % OzTeX reads this configuration file when it starts up.
  2. % Before making any changes, read the section on configuration files
  3. % in the OzTeX User Guide and the notes at the end of this file.
  4.  
  5. % Files and folders:
  6.  
  7. config_files        = -- StyleWriter ImageWriter Linotronic |
  8.    "600 dpi printer" -- "A5 Portrait" "A4 Landscape" "US Letter" -- |
  9.    "View at 144 dpi" "View CM using PS" -- "Add BaKoMa Fonts" |
  10.    "Add CM/PS Fonts" "Add Lucida Fonts" "Add MathTime Fonts"
  11. format_files        = LaTeX AMSTeX Plain
  12. help_files          = "Questions and Answers" "Handy Hints" Problems |
  13.    "TeX Users Group" "Related Software" "Shareware Fee" Thanks -- |
  14.    DVIPS DVIDVI DVIcopy PSbook PSnup PSselect PStoPS -- |
  15.    "Changes to OzTeX 1.7" "Changes to OzTeX 1.8" "Changes to OzTeX 1.9" |
  16.    "Changes to OzTeX 2.0" "Changes to OzTeX 2.1"
  17. help_folder         = :Help-files:
  18. format_folder       = :TeX-formats:
  19. input_folders       = :TeX-inputs:* :AMS:AMS-TeX: :AMS:AMS-LaTeX:
  20. tfm_folders         = :TeX-fonts:* :AMS:TFM:
  21. vf_folders          = :VF-files:
  22. pk_files            = %f.%dpk :PK-files:%f.%dpk :PK-files:%d:%f.%dpk
  23. ps_folders          = :DVIPS:Inputs: :PS-files: :PS-files:Encodings: $f
  24. text_to_ps_prolog   = :PS-files:TEXTtoPS.pro
  25. missing_fonts_file  = :PK-files:missfont.make  (for use by MakeTeXPK in OzMF)
  26. pool_file           = :TeX-formats:TeX.pool    (only used by INITEX)
  27. dummy_tfm_file      = :TeX-fonts:CM:cmr10.tfm
  28. dummy_screen_font   = Geneva
  29. save_output         = Oz.text                  (for Save All Text)
  30. dvidvi_output       = out.dvi                  (for DVIDVI)
  31. pstool_output       = out.ps                   (for PSbook, PSnup, etc)
  32. input_file_suffixes = .tex .ltx .dtx .ins
  33. mf_application      = OzMF
  34.  
  35. % Printing and previewing:
  36.  
  37. printing_resolution = 300            (in dots per inch)
  38. printing_mode       = laserwriter    (used by MakeTeXPK in OzMF)
  39. printing_config     = ""             (don't load anything before printing)
  40. viewing_resolution  = 300
  41. viewing_mode        = laserwriter
  42. viewing_config      = ""             (don't load anything before viewing)
  43. units               = in             (in/cm/mm/pc/pt/bp/px)
  44. paper_width         = 210mm          (A4 width; use 8.5in for US Letter)
  45. paper_height        = 297mm          (A4 height; use 11in for US Letter)
  46. horizontal_offset   = 0mm            (shift pages right if +ve, left if -ve)
  47. vertical_offset     = 0mm            (shift pages down if +ve, up if -ve)
  48. show_statistics     = false
  49. reverse_page_order  = false          (use true if pages are stacked face up)
  50. manual_feed         = false          (only for PostScript printing)
  51. dvips_options       = ""             (ditto)
  52. paper_edges         = blue           (use white to make them invisible)
  53. \special_markers    = green          (ditto)
  54. missing_fonts       = red            (ditto)
  55. missing_picts       = red            (for EPSF files with no PICT)
  56. hypertex_links      = green
  57.  
  58. % TeX parameters (the values in brackets show the possible ranges):
  59.  
  60. mem_max             = 70000   (mem_top..100000000)
  61. font_max            = 120     (1..256)
  62. font_mem_size       = 38000   (8..100000000)
  63. max_strings         = 6000    (1300..16382)
  64. string_vacancies    = 30000   (0..pool_size-23500)
  65. pool_size           = 70000   (string_vacancies+23500..100000000)
  66. buf_size            = 1000    (120..32760)
  67. stack_size          = 200     (1..1600)
  68. max_in_open         = 6       (1..20)
  69. param_size          = 60      (1..8190)
  70. nest_size           = 40      (1..1000)
  71. save_size           = 600     (1..4094)
  72. trie_size           = 8000    (1..65000)
  73. trie_op_size        = 500     (1..16382)
  74. %
  75. % If you change any of the next four parameters then you'll need
  76. % to run INITEX and rebuild all your format files (see the User Guide).
  77. % Some people will probably want to increase the hash_size value,
  78. % so here are some suitable hash_prime values:
  79. % hash_size         =  3000  4000  5000  6000  10000  20000  31000
  80. % hash_prime        =  2551  3407  4253  5101   8501  16993  26347
  81. %
  82. mem_top             = 70000   (mem_min+1100..mem_max)
  83. hash_size           = 5000    (325..31000)
  84. hash_prime          = 4253    (prime about 85% of hash_size)
  85. hyph_size           = 307     (prime from 1..16382)
  86. %
  87. % Only change the next few parameters when carrying out TeX's TRIP test:
  88. %
  89. error_line          = 72      (45..32760)
  90. half_error_line     = 42      (30..error_line-15)
  91. max_print_line      = 79      (60..32760)
  92. mem_min             = 0       (0..mem_top-1100)
  93.  
  94. % PostScript fonts (or more accurately, non-PK fonts):
  95.  
  96. begin_fonts
  97.  
  98. % TFM     Printer font                Screen font           Encoding    Style
  99. pagd8r    AvantGarde-Demi             "Avant Garde"         Mac8r.enc   b
  100. pagdo8r   AvantGarde-DemiOblique      "Avant Garde"         Mac8r.enc   bi
  101. pagk8r    AvantGarde-Book             "Avant Garde"         Mac8r.enc
  102. pagko8r   AvantGarde-BookOblique      "Avant Garde"         Mac8r.enc   i
  103.  
  104. pbkd8r    Bookman-Demi                Bookman               Mac8r.enc   b
  105. pbkdi8r   Bookman-DemiItalic          Bookman               Mac8r.enc   bi
  106. pbkdo8r   Bookman-Demi                Bookman               Mac8r.enc   bi
  107. pbkl8r    Bookman-Light               Bookman               Mac8r.enc
  108. pbkli8r   Bookman-LightItalic         Bookman               Mac8r.enc   i
  109. pbklo8r   Bookman-Light               Bookman               Mac8r.enc   i
  110.  
  111. pcrb8r    Courier-Bold                Courier               Mac8r.enc   b
  112. pcrbo8r   Courier-BoldOblique         Courier               Mac8r.enc   bi
  113. pcrr8r    Courier                     Courier               Mac8r.enc
  114. pcrro8r   Courier-Oblique             Courier               Mac8r.enc   i
  115.  
  116. phvb8r    Helvetica-Bold              Helvetica             Mac8r.enc   b
  117. phvbo8r   Helvetica-BoldOblique       Helvetica             Mac8r.enc   bi
  118. phvbon8r  Helvetica-BoldOblique       Helvetica             Mac8r.enc   cbi
  119. phvbrn8r  Helvetica-Bold              Helvetica             Mac8r.enc   cb
  120. phvr8r    Helvetica                   Helvetica             Mac8r.enc
  121. phvro8r   Helvetica-Oblique           Helvetica             Mac8r.enc   i
  122. phvron8r  Helvetica-Oblique           Helvetica             Mac8r.enc   ci
  123. phvrrn8r  Helvetica                   Helvetica             Mac8r.enc   c
  124.  
  125. pncb8r    NewCenturySchlbk-Bold       "New Century Schlbk"  Mac8r.enc   b
  126. pncbi8r   NewCenturySchlbk-BoldItalic "New Century Schlbk"  Mac8r.enc   bi
  127. pncbo8r   NewCenturySchlbk-Bold       "New Century Schlbk"  Mac8r.enc   bi
  128. pncr8r    NewCenturySchlbk-Roman      "New Century Schlbk"  Mac8r.enc
  129. pncri8r   NewCenturySchlbk-Italic     "New Century Schlbk"  Mac8r.enc   i
  130. pncro8r   NewCenturySchlbk-Roman      "New Century Schlbk"  Mac8r.enc   i
  131.  
  132. pplb8r    Palatino-Bold               Palatino              Mac8r.enc   b
  133. pplbi8r   Palatino-BoldItalic         Palatino              Mac8r.enc   bi
  134. pplbo8r   Palatino-Bold               Palatino              Mac8r.enc   bi
  135. pplbu8r   Palatino-BoldItalic         Palatino              Mac8r.enc
  136. pplr8r    Palatino-Roman              Palatino              Mac8r.enc
  137. pplri8r   Palatino-Italic             Palatino              Mac8r.enc   i
  138. pplro8r   Palatino-Roman              Palatino              Mac8r.enc   i
  139. pplrre8r  Palatino-Roman              Palatino              Mac8r.enc   e
  140. pplrrn8r  Palatino-Roman              Palatino              Mac8r.enc   c
  141. pplru8r   Palatino-Italic             Palatino              Mac8r.enc
  142.  
  143. psyr      Symbol                      Symbol                nil
  144. psyro     Symbol                      Symbol                nil         i
  145.  
  146. ptmb8r    Times-Bold                  Times                 Mac8r.enc   b
  147. ptmbi8r   Times-BoldItalic            Times                 Mac8r.enc   bi
  148. ptmbo8r   Times-Bold                  Times                 Mac8r.enc   bi
  149. ptmr8r    Times-Roman                 Times                 Mac8r.enc
  150. ptmri8r   Times-Italic                Times                 Mac8r.enc   i
  151. ptmro8r   Times-Roman                 Times                 Mac8r.enc   i
  152. ptmrre8r  Times-Roman                 Times                 Mac8r.enc   e
  153. ptmrrn8r  Times-Roman                 Times                 Mac8r.enc   c
  154.  
  155. putb8r    Utopia-Bold                 Utopia                Mac8r.enc   b
  156. putbi8r   Utopia-BoldItalic           Utopia                Mac8r.enc   bi
  157. putbo8r   Utopia-Bold                 Utopia                Mac8r.enc   bi
  158. putr8r    Utopia-Regular              Utopia                Mac8r.enc
  159. putri8r   Utopia-Italic               Utopia                Mac8r.enc   i
  160. putro8r   Utopia-Regular              Utopia                Mac8r.enc   i
  161.  
  162. pzcmi8r   ZapfChancery-MediumItalic   "Zapf Chancery"       Mac8r.enc
  163. pzdr      ZapfDingbats                "Zapf Dingbats"       nil
  164.  
  165. % This line is needed to view the MetaPost manual (:MetaPost:Docs:mpman.dvi)
  166. % because it uses an old-style TFM name.
  167. rpsyr     Symbol                      Symbol                nil
  168.  
  169. end_fonts
  170.  
  171. % Later parameters override earlier ones, so include any changes here
  172. % if you want to keep a record of the above settings.
  173. % Note that you can APPEND fonts to the above list by using
  174. % add_fonts
  175. % ...
  176. % end_fonts
  177.  
  178.  
  179. !
  180. The above exclamation mark tells OzTeX to stop reading the config file.
  181. Now we can add some notes without having to start each line with "%".
  182.  
  183. Files and folders
  184. -----------------
  185.  
  186. Path names beginning with ":" are relative to the location of OzTeX.
  187. See the OzTeX User Guide for more details about the syntax of path names.
  188.  
  189. Names in the config_files list appear as items at the end of the Config menu
  190. and should correspond to text files stored in the Configs folder.
  191. Note that config_files is ignored in non-default configuration files.
  192.  
  193. Names in the format_files list appear as items at the end of the TeX menu
  194. and should correspond to .fmt files inside the given format_folder.
  195. Format names must not contain any spaces.  Place your preferred format first.
  196.  
  197. Names in the help_files list appear as items in the Help menu and should
  198. correspond to text files in the given help_folder.  The Help menu will not
  199. appear if the list is empty.
  200.  
  201. NOTE: Any string starting with "-" in the above three lists will result in
  202. a disabled line in the corresponding menu.
  203.  
  204. Some parameters (input_folders, tfm_folders, vf_folders and ps_folders) allow
  205. "*" at the end of a path name to tell OzTeX to include all subfolders of the
  206. given folder in the search list.  OzTeX does NOT include subfolders within
  207. subfolders.
  208.  
  209. Note that the ps_folders list includes the special entry "$f".  OzTeX replaces
  210. $f with the path to your system fonts folder (this is where PostScript font
  211. files are normally kept).  On systems earlier than version 7, $f is replaced
  212. by the system folder.
  213.  
  214. The pk_files parameter is a list of file templates used by OzTeX to find
  215. PK files after doing the following substitutions:
  216.  
  217.    %f is replaced by the desired font name (eg. cmr10)
  218.    %d is replaced by the desired font size (eg. 360)
  219.    %b is replaced by the base resolution (eg. 300)
  220.    %m is replaced by the mode (eg. laserwriter)
  221.    %% is replaced by "%" (in case you want "%" in a folder name)
  222.  
  223. The text_to_ps_prolog parameter specifies the prolog file prepended to the
  224. output when printing a text file to a PostScript device (but only if
  225. "Use Standard PostScript" is not ticked).
  226.  
  227. The dvidvi_output parameter specifies the default name of the output file
  228. created by DVIDVI.  The pstool_output parameter specifies the default name
  229. of the output file created by PSbook, PSnup, etc.
  230.  
  231. The input_file_suffixes parameter allows you to specify a list of suffixes
  232. for the files seen in the "TeX..." file dialog.  The Default list matches the
  233. most common suffixes for TeX and LaTeX input files.  Note that an empty list
  234. will show all (TEXT) files.  The given list is also used by OzTeX to determine
  235. whether a text file should be typeset if it is dropped onto OzTeX or opened
  236. via an Apple "open document" event.
  237.  
  238. OzTeX calls the given mf_application to make a missing PK font when printing
  239. or previewing a DVI file.  The Default application is OzMF.
  240.  
  241. Printing and previewing
  242. -----------------------
  243.  
  244. The printing_resolution value (in dots per inch) is used when printing a
  245. DVI file on a non-PostScript printer and the viewing_resolution is used when
  246. previewing a DVI file.  For both parameters, the maximum value is 3000 and
  247. the minimum value is the resolution of your screen (typically 72).
  248. The printing_mode and viewing_mode strings are passed from OzTeX to Metafont
  249. to make missing PK fonts.
  250.  
  251. NOTE: dvips does NOT use the printing_resolution or printing_mode.  It uses
  252. the resolution and mode specified in :DVIPS:Inputs:config.ps.  This allows
  253. more flexibility.  For example, a person with two printers, one QuickDraw and
  254. one PostScript, can set up the printing parameters for the QD printer and have
  255. quite different settings in config.ps for the PS printer.
  256.  
  257. If the printing_config value is non-empty then OzTeX will automatically
  258. load the named config file just before printing a DVI or text file.
  259. Similarly, if the viewing_config value is non-empty then OzTeX will
  260. automatically load the config file just before previewing a DVI file.
  261. The Default parameters are both empty, and so nothing happens.
  262. However, people who want to use a different set of fonts (not just different
  263. resolutions) for viewing and printing could set up appropriate config files.
  264. For example, the "View CM using PS" config file sets the printing_config to
  265. "Default" so that after previewing a DVI file using "View CM using PS" you
  266. don't have to remember to load the Default config before printing.
  267.  
  268. The units parameter tells OzTeX how to display dimensions when printing or
  269. viewing a DVI file.  The standard TeX units are available as well as "px"
  270. (see the User Guide's section on paper coordinates).
  271.  
  272. The paper_width and paper_height values are used to detect page-off-paper
  273. errors when viewing a DVI file, and during low-level PostScript printing.
  274. (In standard PostScript printing and non-PostScript printing, OzTeX uses
  275. the paper size and orientation selected in the Page Setup dialog.)
  276. If the width is greater than the height then OzTeX will print or view
  277. in landscape mode.  The Default values specify A4 paper in portrait mode.
  278. If you use US Letter paper then see the US Letter config file.
  279.  
  280. The horizontal_offset and vertical_offset values affect the positioning of
  281. all pages when printing a DVI file on a non-PostScript printer.  They should
  282. only be changed if your printer has problems positioning the TeX origin
  283. (see page 2 in nasty.dvi).  These offsets are NOT used when previewing a DVI
  284. file, nor by dvips.  If you need to adjust the origin on a PostScript printer
  285. then add a line like "O 2mm,-3mm" to config.ps.
  286.  
  287. The flag parameters like show_statistics specify the initial settings
  288. of some check boxes used in the dialogs for printing a DVI file.
  289. For a PostScript printer, the extra DVIPS options box will contain
  290. the current dvips_options string (the Default string is empty, but some of
  291. the supplied config files set dvips_options to appropriate strings).
  292.  
  293. The paper_edges and other color parameters are used to specify the colors
  294. for various page elements when previewing a DVI file.  The allowed colors are
  295. black, red, green, blue, cyan, magenta, yellow and white (white can be used
  296. to make something invisible).  On black and white monitors all non-white
  297. colors appear black.
  298.  
  299. TeX parameters
  300. --------------
  301.  
  302. The TeX parameters determine how much memory is allocated for various arrays
  303. used by TeX and INITEX.  Note that mem_max is temporarily set to mem_top
  304. whenever you run INITEX.
  305.  
  306. The supplied values are suitable for small to medium-size TeX documents.
  307. For very large or complicated documents, you will probably need to increase
  308. most values and build big formats.  To do this, copy the following lines to
  309. a spot anywhere after the supplied TeX parameters (but before the "!"):
  310.  
  311. mem_max           = 200000      (mem_top..100000000)
  312. mem_top           = 200000      (mem_min+1100..mem_max)
  313. font_max          = 256         (1..256)
  314. font_mem_size     = 60000       (8..100000000)
  315. max_strings       = 10000       (1300..16382)
  316. string_vacancies  = 50000       (0..pool_size-23500)
  317. pool_size         = 80000       (string_vacancies+23500..100000000)
  318. buf_size          = 3000        (120..32760)
  319. stack_size        = 600         (1..1600)
  320. max_in_open       = 20          (1..20)
  321. param_size        = 200         (1..8190)
  322. nest_size         = 150         (1..1000)
  323. save_size         = 2000        (1..4094)
  324. trie_size         = 16000       (1..65000)
  325. trie_op_size      = 1000        (1..16382)
  326. hash_size         = 10000       (325..31000)
  327. hash_prime        = 8501        (prime about 85% of hash_size)
  328. hyph_size         = 2551        (prime from 1..16382)
  329.  
  330. NOTE: OzTeX's preferred memory size will need to be set to at least 3500K
  331. (select the OzTeX icon and then use "Get Info" in the Finder's File menu).
  332. You'll also need to run INITEX and rebuild all formats as described in the
  333. User Guide.
  334.  
  335. If you don't have enough memory then reduce the values of mem_max and mem_top.
  336. Each unit reduction saves 8 bytes, so if mem_max and mem_top are reduced by
  337. 100,000 then the required memory size drops by about 800K.  If you decide to
  338. change any other parameters then you might need to adjust OzTeX's memory size
  339. (use the number of allocated bytes shown at the end of a TeX run).
  340.  
  341. PostScript fonts
  342. ----------------
  343.  
  344. The lines between begin_fonts and end_fonts tell OzTeX which TFM files are
  345. for PostScript fonts (or more accurately, non-PK fonts).  The ordering of
  346. lines doesn't matter; they are used to build a list of PostScript fonts.
  347. Each line specifies a TFM name, a printer font name, a screen font name,
  348. an encoding entry and an optional style.
  349.  
  350. NOTE: The printer font names aren't actually used, but they do provide a
  351. convenient reminder of the actual printer fonts represented by the rather
  352. cryptic TFM names.  Note also that the given set of TFM names should match
  353. the entries in :DVIPS:Inputs:psfonts.map used by dvips.
  354.  
  355. The screen font names are used when viewing DVI files containing PostScript
  356. fonts, and when printing such DVI files on a non-PostScript printer.
  357. If you are unsure about which screen font would best match a particular
  358. PostScript font, you must still specify something (such as "?").
  359. If OzTeX can't find a specified screen font it will warn you and use the
  360. system font instead.  To obtain the best results when viewing or printing
  361. a DVI file with PostScript fonts you must get the matching screen fonts.
  362.  
  363. Each screen font can appear in a certain style defined by a set of flags:
  364.  
  365.    b for bold,
  366.    i for italic,
  367.    u for underline,
  368.    o for outline,
  369.    s for shadow,
  370.    c for condense and
  371.    e for extend.
  372.  
  373. If the style is not specified then OzTeX uses the font's plain style.
  374.  
  375. An encoding entry is the name of a user-defined encoding file (or "nil" if
  376. the TFM file and screen font use the same encoding). For more details, see
  377. the User Guide's section on encoding files.
  378.